﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CongNoNCCList.aspx.cs" Inherits="WebApplication.Admin.CongNoNCCList" MasterPageFile="~/Admin/Web.Master" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="maint" runat="server">
<div style="float:right;">
<asp:LinkButton runat="server" ID="lbtnthemmoi" CssClass="btn btn-info" 
               >Thêm mơi</asp:LinkButton>
</div><br />
<div style="margin-top:25px;">
<asp:GridView ID="grCongno" runat="server" 
        CssClass="table table-striped table-bordered table-hover" 
        AutoGenerateColumns="False" onrowcommand="grCongno_RowCommand" 
        onrowdatabound="grCongno_RowDataBound">
    <Columns>
       <asp:TemplateField HeaderText="STT">
    <ItemTemplate>
    <%# Container.DataItemIndex+1 %>
    </ItemTemplate>
    </asp:TemplateField>
    <asp:TemplateField HeaderText="Nhà cung cấp">
     <ItemTemplate>
      <asp:Label ID="lbnhacc" runat="server"></asp:Label>
     </ItemTemplate>
    </asp:TemplateField>
        <asp:BoundField DataField="TONGTIENTRA" HeaderText="Tổng tiền phải trả" />
        <asp:BoundField DataField="TONGTIENDATRA" HeaderText="Tiền đã trả" />
        <asp:BoundField DataField="TONGNO" HeaderText="Số tiền nợ" />
        <asp:TemplateField HeaderText="Tình trạng">
        <ItemTemplate>
        <asp:Label runat="server" ID="lbtinhtrang"></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
    <asp:TemplateField HeaderText="Chức năng">
     <ItemTemplate> 
 <asp:LinkButton runat="server" ID="lbtnsua" CommandName="lbtnsua" CommandArgument='<%#Bind("ID") %>'><i class="icon-pencil bigger-130"></i></asp:LinkButton>
 <asp:LinkButton runat="server" ID="lbtnxoa" CommandName="lbtnxoa" CommandArgument='<%#Bind("ID") %>' OnClientClick="return confirm('Bạn có muỗn xóa không');"><i class="icon-trash bigger-130 red"></i></asp:LinkButton>
     </ItemTemplate>
    </asp:TemplateField>
    </Columns>
</asp:GridView>
</div>
</asp:Content>